package vip.kqsy.cloud.blog.server.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class CarouselAddDTO {
    @ApiModelProperty(value = "图片URL", required = true)
    @NotBlank
    private String url;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "外连接")
    private String link;

    @ApiModelProperty(value = "连接类型")
    private Integer linkType;

    @ApiModelProperty(value = "排序")
    private Integer order;
}
